home *** CD-ROM | disk | FTP | other *** search
-
-
-
- pppprrrroooojjjjiiiidddd((((3333cccc)))) pppprrrroooojjjjiiiidddd((((3333cccc))))
-
-
-
- NNNNAAAAMMMMEEEE
- projid, projname, fprojid, fprojname - get project ID information
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<pppprrrroooojjjj....hhhh>>>>
-
- pppprrrriiiidddd____tttt pppprrrroooojjjjiiiidddd((((ccccoooonnnnsssstttt cccchhhhaaaarrrr ****nnnnaaaammmmeeee))));;;;
- iiiinnnntttt pppprrrroooojjjjnnnnaaaammmmeeee((((pppprrrriiiidddd____tttt pppprrrriiiidddd,,,, cccchhhhaaaarrrr ****bbbbuuuuffff,,,, ssssiiiizzzzeeee____tttt lllleeeennnn))));;;;
-
- pppprrrriiiidddd____tttt ffffpppprrrroooojjjjiiiidddd((((PPPPRRRROOOOJJJJ ttttooookkkkeeeennnn,,,, ccccoooonnnnsssstttt cccchhhhaaaarrrr ****nnnnaaaammmmeeee))));;;;
- iiiinnnntttt ffffpppprrrroooojjjjnnnnaaaammmmeeee((((PPPPRRRROOOOJJJJ ttttooookkkkeeeennnn,,,, pppprrrriiiidddd____tttt pppprrrriiiidddd,,,, cccchhhhaaaarrrr ****bbbbuuuuffff,,,, ssssiiiizzzzeeee____tttt lllleeeennnn))));;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The _p_r_o_j_i_d, _p_r_o_j_n_a_m_e and _g_e_t_p_r_o_j_a_l_l functions are used to obtain
- information from the pppprrrroooojjjjiiiidddd file. The _p_r_o_j_i_d function searches the
- pppprrrroooojjjjiiiidddd file for the project _n_a_m_e and returns the corresponding numeric
- project ID. The _p_r_o_j_n_a_m_e function searches the pppprrrroooojjjjiiiidddd file for the
- project ID _p_r_i_d and stores the corresponding ASCII name in the buffer
- _b_u_f, up to a maximum of _l_e_n-1 characters. The resulting string will
- always be null-terminated.
-
- The _f_p_r_o_j_i_d and _f_p_r_o_j_n_a_m_e functions are variants of _p_r_o_j_i_d and _p_r_o_j_n_a_m_e
- that use a PPPPRRRROOOOJJJJ token to make them more efficient for repeated use.
- Otherwise their operation is identical. For more details on creating a
- PPPPRRRROOOOJJJJ token, see _o_p_e_n_p_r_o_j(3C).
-
- FFFFIIIILLLLEEEESSSS
- ////eeeettttcccc////pppprrrroooojjjjiiiidddd System project name to project ID mappings.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- closeproj(3C), getprojall(3C), getprojuser(3C), openproj(3C), projid(4),
- projects(5).
-
- DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
- _p_r_o_j_i_d and _f_p_r_o_j_i_d return the appropriate project ID if successful, or -1
- if not.
-
- _p_r_o_j_n_a_m_e and _f_p_r_o_j_n_a_m_e return 1 if successful, 0 if not.
-
- BBBBUUUUGGGGSSSS
- Both functions use _f_o_p_e_n(3S) and are thus subject to its limitations.
-
- Project ID information should be (optionally) obtained via NIS.
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-